//
//  ApiEnergyInfoManager.h
//  cocoapodText
//
//  Created by apple on 16/9/23.
//  Copyright © 2016年 apple. All rights reserved.
//

#ifndef ApiEnergyInfoManager_h
#define ApiEnergyInfoManager_h


#endif /* ApiEnergyInfoManager_h */
#import "CommonTool.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class ApiEnergyInfoManager;
//一个协议可以扩展另一个协议，例如FSLoginViewDelegate扩展了NSObject协议
@protocol ApiEnergyInfoManagerDelegate <NSObject>

@required //@required修饰的方法必须实现
-(void)onEnergyInfo:(ApiEnergyInfoManager *)manager result:(NSDictionary *)result code:(NSString *)code;
@end

@interface ApiEnergyInfoManager : NSObject
#pragma mark - 属性
#pragma mark 代理属性，同时约定作为代理的对象必须实现KCButtonDelegate协议
@property (nonatomic,retain) id<ApiEnergyInfoManagerDelegate> delegate;

#pragma mark - 公共方法
/***********能耗分析**********/
- (void)fsgy_api_energy_info_withRequestCode:(NSString *)code;
//esCode=01&orgNo=520100000&structType=4&id=520100000:4
- (void)fsgy_api_energy_info_withRequestCode:(NSString *)code esCode:(NSString *)esCode orgNo:(NSString *)orgNo structType:(NSString *)structType areaId:(NSString *)areaId;
//esCode&orgid&structType=4&xslx=1&startTime=20160729&endTime=20160829 showChart
- (void)fsgy_api_energy_info_withRequestCode:(NSString *)code esCode:(NSString *)esCode orgid:(NSString *)orgid structType:(NSString *)structType xslx:(NSString *)xslx startTime:(NSString *)startTime endTime:(NSString *)endTime;
/***********能耗分析**********/
/***********能耗对标**********/
- (void)fsgy_api_energy_benchmarking_info_withRequestCode:(NSString *)code;
//esCode=01&orgNo=520100000&structType=4&id=520100000:4
- (void)fsgy_api_energy_benchmarking_info_withRequestCode:(NSString *)code esCode:(NSString *)esCode orgNo:(NSString *)orgNo structType:(NSString *)structType areaId:(NSString *)areaId;
//esCode&orgid&structType=4&xslx=1&startTime=20160729&endTime=20160829 showChart
- (void)fsgy_api_energy_benchmarking_info_withRequestCode:(NSString *)code esCode:(NSString *)esCode orgid:(NSString *)orgid structType:(NSString *)structType xslx:(NSString *)xslx startTime:(NSString *)startTime contrastType:(NSString *)contrastType contrastName:(NSString *)contrastName;
/***********能耗对标**********/
@end
